package models

import (
	"gorm.io/gorm"
)

type User struct {
	gorm.Model
	Name         string `gorm:"type:varchar(30)"`
	CardType     string `gorm:"type:enum('身份证','居住证','护照','驾驶证')"`
	CardNumber   string `gorm:"type:varchar(30)"`
	UserName     string `gorm:"type:varchar(30)"`
	Tel          string `gorm:"type:varchar(30)"`
	Address      string `gorm:"type:varchar(100)"`
	Image        string `gorm:"type:text"`
	Relationship string `gorm:"type:enum('本人','父子','母子','祖孙','太祖孙','玄祖孙','兄弟姊妹')"`
}
